package com.lecture.junit.tdd.example;

public interface IAccount {

    public Boolean passwordMatches(String pass);

    public void setLoggedIn();

    public void setRevoked();

    public boolean isLoggedIn();

    public boolean isRevoked();

    public String getUserName();
    
    //My Changes
    
    // Expiration
    public boolean isPasswordExpired();
    
    
    // Change password
    public void addUsedPassword(String password);
    
    public void removeFirstUsedPassword();
    
    public boolean containsUsedPassword(String password);

    public int getUsedPaswordsNumber();
    
    // Time stamp
    
    public void refreshTimeStamp();
    
    public TimeStamp getTimeStamp();
}
